package com.demo.bean;

public class Test {

    public void test() {
        Object o = new Object();
        synchronized (o) {
            //同步代码
//            o.
        }
    }
}
